package com.jike.mahjong.dao;

import com.jike.mahjong.model.MessageModel;
import com.jike.mahjong.model.Version;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by star on 2016/10/13.
 */
@Repository("messageDao")
public interface MessageDao {

    public List<MessageModel> queryMessageInfo(Map<String, Object> para);

    public Integer countQueryMessageInfo(Map<String, Object> para);


    public Integer insertMessage(MessageModel model);

    public Integer updateMessageInfo(Map<String, Object> para);

    public Integer deleteMessage(Map<String, Object> para);

    public Version queryVersionInfo(Map<String, Object> para);

    public Integer updateVersionInfo(Version vo);


}
